section-b {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* Center the section */
    height: 600px; /* Set height to 600px on desktop */
}
section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.banner-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px; /* Fixed height for desktop */
}

.banner {
    display: flex;
    transition: transform 1s ease-in-out;
	margin: 0 auto;
	width: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.slide-content h1 {
    color: white;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure h1 is responsive */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 992px) {
    .banner-container {
        height: auto; /* Set height to auto on smaller screens */
    }
    .slide-content h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 1.5em;
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 1.2em;
    }
}

/* Pause button styling */
.pause-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
}